-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display external IPs on primary network interface #1070
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
2cb595b
to
ffff5a4
Compare
await expectRowVisible(page, 'nic-2', ['nic-2', null, null, null, null, 'primary']) | ||
await expectRowVisible(page, 'nic-2', ['nic-2', null, null, null, null, null, 'primary']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel like we need a better way to do this. Key/value pairs for table names or something.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const skip = (n: number) => new Array(5).fill(null)
await expectRowVisible(page, 'nic-2', ['nic-2', ...skip(5), 'primary'])
😁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this actually works ahaha
await expectRowVisible(page, 'nic-2', ['nic-2', , , , , , 'primary'])
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just mean more so the test doesn't need to be changed just because you add a new field.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, you’re totally right. I’ll give it a quick shot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're gonna love 95fd19a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Love the test improvements, they feel much sturdier.
Closes #1066
Depends on oxidecomputer/omicron#1495, which is waiting on oxidecomputer/omicron#1478.